package com.gl.order.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: liangSY
 * @Date: 2021/6/26
 * @ClassName: OrderDto
 * @Description: OrderDto描述
 */
@ApiModel("修改订单相关参数")
@Data
public class UpdateOrderDto {


    @ApiModelProperty(value = "订单id",required = true)
    @NotBlank(message = "请确认需要修改的订单")
    private String id;

    @ApiModelProperty("产品类型")
    @NotBlank(message = "产品类型不能为空")
    private String productType;

    @ApiModelProperty(value = "产品名称",required = true)
    private String name;

    @ApiModelProperty(notes = "面料(注意：带上所有面料数据包含修改和未修改的)",dataType = "List",required = true)
    private List<LiningDto> linings;

    @ApiModelProperty("产品备注")
    private String productRemark;

    @ApiModelProperty("快递公司")
    private String dhl;

    @ApiModelProperty("纸样类型")
    private String pattern;

    @ApiModelProperty("纸样追加信息")
    private String patternSpecification;

    @ApiModelProperty("印花工艺")
    private String patternProcess;

    @ApiModelProperty("印花备注")
    private String patternRemark;

    @ApiModelProperty(value = "单价",example = "1")
    private BigDecimal price;

    @ApiModelProperty(value = "数量",example = "1")
    private BigDecimal num;

    @ApiModelProperty(value = "留样数量",example = "1")
    private BigDecimal sampleNum;

    @ApiModelProperty(value = "预付款",example = "100")
    private BigDecimal advance;

    @ApiModelProperty(value = "抵扣金额",example = "100")
    private BigDecimal deduction;

    @ApiModelProperty("货款备注")
    private String paymentRemark;

    @ApiModelProperty("支付方式")
    private String paymentWay;

    @ApiModelProperty("所属组")
    private String groupId;

    @ApiModelProperty("客户")
    private String customerId;

    @ApiModelProperty("所属销售")
    private String marketUserId;

    @ApiModelProperty("所属客服")
    private String customerServiceId;

    @ApiModelProperty("车衣工艺")
    private String carClothesProcess;

    @ApiModelProperty(notes = "尺码",dataType = "List")
    private List<SizeDto> sizes;

    @ApiModelProperty(notes = "需要删除图片的id,详情接口返回的图片id")
    List<String> delIds;

    @ApiModelProperty("其他款项")
    private BigDecimal otherFunds;

    @ApiModelProperty("其他款项备注")
    private String otherFundsRemark;

    @ApiModelProperty("订单编号")
    @NotBlank(message = "订单编号不能为空")
    private String orderNo;

    @ApiModelProperty("收货地址id")
    private String addressId;

    //审核情况数据
    @ApiModelProperty("裁床日期")
    private String cuttingRoomTime;

    @ApiModelProperty("裁床日期")
    private String printingTime;

    @ApiModelProperty("车衣日期")
    private String carClothesTime;

    @ApiModelProperty("出货日期")
    private String shipmentTime;

    @ApiModelProperty("快递单价")
    private String dhlPrice;

    @ApiModelProperty("快递单号")
    private String dhlNo;

    @ApiModelProperty("发送数量")
    private String deliverNum;

    @ApiModelProperty("缺货数量")
    private String stockOut;
}
